package com.huacheng.cms.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.huacheng.cms.model.Friendlyurl;

@Repository
public interface FriendlyurlMapper {
	int deleteByPrimaryKey(Integer friendid);

	int insertSelective(Friendlyurl record);

	Friendlyurl selectByPrimaryKey(Integer friendid);

	int updateByPrimaryKeySelective(Friendlyurl record);

	int selectBySelectiveCount(Friendlyurl record);

	List<Friendlyurl> selectBySelective(@Param("record") Friendlyurl record, @Param("offset") Long offset, @Param("rows") Long rows);

}